<%@ include file="include/header.jsp"%>
<div class="item">
	<h1>Maak een veiling</h1>
	<c:if test="${ingelogd}">
		<form action="#" method="post" enctype="multipart/form-data" accept-charset="utf-8">

			<label for="title">Titel van veiling:</label> <input type="text"
				name="title" value="" /> <label for="description">Beschrijving:</label>
			<textarea name="description" id="description"></textarea>

			<label for="days_valid">Aantal dagen geldig: (1-30)</label> <input
				type="text" name="days_valid" value="" /> <label for="minimum_bid">Minimumbod:</label>
			<input type="text" name="minimum_bid" value="" id="minimum_bid" /> <label
				for="picture">Foto:</label> <input type="file" name="picture"
				value="" />

			<div class="clear"></div>

			<input type="submit" name="submit" value="Aanmaken" /> <input
				type="reset" name="reset" value="Formulier leegmaken" />
		</form>
	</c:if>

	<c:if test="${!ingelogd}">
		<h1>Je moet ingelogd zijn om een veiling te maken!</h1>
	</c:if>
</div>
<%@ include file="include/footer.jsp"%>